package com.meitianhui.convenitenbuy.module.wallet.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 用户权益资产Bean
 */
public class UserPropertyBean implements Parcelable{
    private String benefit_num;
    private String lucky_money_num;
    private String card_num;
    private String coupon_num;

    public String getBenefit_num() {
        return benefit_num;
    }

    public void setBenefit_num(String benefit_num) {
        this.benefit_num = benefit_num;
    }

    public String getLucky_money_num() {
        return lucky_money_num;
    }

    public void setLucky_money_num(String lucky_money_num) {
        this.lucky_money_num = lucky_money_num;
    }

    public String getCard_num() {
        return card_num;
    }

    public void setCard_num(String card_num) {
        this.card_num = card_num;
    }

    public String getCoupon_num() {
        return coupon_num;
    }

    public void setCoupon_num(String coupon_num) {
        this.coupon_num = coupon_num;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.benefit_num);
        dest.writeString(this.lucky_money_num);
        dest.writeString(this.card_num);
        dest.writeString(this.coupon_num);
    }

    public UserPropertyBean(Parcel in) {
        this.benefit_num = in.readString();
        this.lucky_money_num = in.readString();
        this.card_num = in.readString();
        this.coupon_num = in.readString();
    }

    public static final Creator<UserPropertyBean> CREATOR = new Creator<UserPropertyBean>() {
        @Override
        public UserPropertyBean createFromParcel(Parcel source) {
            return new UserPropertyBean(source);
        }

        @Override
        public UserPropertyBean[] newArray(int size) {
            return new UserPropertyBean[size];
        }
    };
}
